Primitive Sequences in General Purpose Forth Programs
نویسندگان
چکیده
Instruction dispatch is responsible for most of the running time of Forth interpreters, especially on modern pipelined processors. Superinstructions are an important optimisation to reduce the number of instruction dispatches. Superinstructions have been used for many years to optimise interpreters, but an open problem is the choice of superinstructions to include in the interpreter. In this paper we propose a number of heuristics for choosing superinstructions, and evaluate them for general purpose Forth programs. We find that static measures of frequency perform well for superinstruction selection. As few as eight superinstructions can reduce the number of instruction dispatches by an average of 15%, and reductions of up to 45% are possible with large numbers of superinstructions.
منابع مشابه
The Common Case in Forth Programs
Identifying common features in Forth programs is important for those designing Forth machines and optimisers. In this paper we measure the behaviour of six large Forth programs and four small ones. We look at the ratio of user to system code, basic block lengths, common instructions, and common sequences of instructions. Our most important finding is that for most large programs, many (38.4%– 4...
متن کاملDEPARTMENT OF HEALTH AND HUMAN SERVICES Office of Inspector General OIG Compliance Program Guidance for Pharmaceutical Manufacturers
This Federal Register notice sets forth the recently issued Compliance Program Guidance for Pharmaceutical Manufacturers developed by the Office of Inspector General (OIG). Through this notice, the OIG is setting forth its general views on the value and fundamental principles of compliance programs for pharmaceutical manufacturers and the specific elements that pharmaceutical manufacturers shou...
متن کامل94 Robot Manipulator Control under Unix RCCL : A Robot Control " C " Library
In this paper, we present a general purpose manipulator control system. The system is run under the Unix operating system. Manipulator programs are written in the "C" language and make use of primitive functions included in a library. Manipulator control is thus integrated within the language in the same manner as is input-output. The system includes a world modeler and a trajectory generator t...
متن کاملOn the Construction of m-Sequences via Primitive Polynomials with a Fast Identification Method
The paper provides an in-depth tutorial of mathematical construction of maximal length sequences (m-sequences) via primitive polynomials and how to map the same when implemented in shift registers. It is equally important to check whether a polynomial is primitive or not so as to get proper m-sequences. A fast method to identify primitive polynomials over binary fields is proposed where the com...
متن کاملA Motion Description Language for Hybrid System Programming
One of the important but often overlooked challenges in motion control has to do with the transfer of theoretical tools into software that will allow an autonomous system to interact effectively with the physical world. In a situation familiar to most control practitioners, motion control programs are often machine-specific and are not reusable, even when the underlying algorithm does not requi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002